/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package view.finalresults;

import view.renderer.MyRendererFinalResults;

/**
 *
 * @author Djordje Gligorijevic
 */
public class PnlFinalResultsTable extends javax.swing.JPanel {

    /**
     * Creates new form PnlFinalResultsTable
     */
    public PnlFinalResultsTable() {
        initComponents();
        tblFinalResults.setDefaultRenderer(Object.class, new MyRendererFinalResults());
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jScrollPane1 = new javax.swing.JScrollPane();
        tblFinalResults = new javax.swing.JTable();

        tblFinalResults.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {

            },
            new String [] {

            }
        ));
        tblFinalResults.setRowSelectionAllowed(false);
        jScrollPane1.setViewportView(tblFinalResults);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 400, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 300, Short.MAX_VALUE)
        );
    }// </editor-fold>//GEN-END:initComponents
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JTable tblFinalResults;
    // End of variables declaration//GEN-END:variables

    /**
     * @return the tblFinalResults
     */
    public javax.swing.JTable getTblFinalResults() {
        return tblFinalResults;
    }

    /**
     * @param tblFinalResults the tblFinalResults to set
     */
    public void setTblFinalResults(javax.swing.JTable tblFinalResults) {
        this.tblFinalResults = tblFinalResults;
    }
}
